package demo;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;

public class FosDemo {
    public static void main(String[] args) throws Exception {
        FileOutputStream fos=new FileOutputStream("./fos.dat");
        fos.write(1);
        System.out.println("写入成功");
        fos.close();

    }
}
